package com.zkthink.ceres.product.dto;

import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zkthink.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 物流方案明细
 * </p>
 *
 * @author vivi.huang
 * @since 2020-05-16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "LogisticsDetailPageDTO", description = "物流方案明细")
public class LogisticsDetailPageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物流id
     */
    @ApiModelProperty(value = "物流id")
    @NotNull(message = "物流id不能为空")
    private Long logisticsId;
    /**
     * 配送区域
     */
    @ApiModelProperty(value = "配送区域")
    @Length(max = 1000, message = "配送区域长度不能超过1000")
    private String region;
    /**
     * 计费明细
     */
    @ApiModelProperty(value = "计费明细")
    @Length(max = 500, message = "计费明细长度不能超过500")
    private String chargeDetail;
    /**
     * 逻辑删除 1-删除 0-未删除
     */
    @ApiModelProperty(value = "逻辑删除 1-删除 0-未删除")
    @NotNull(message = "逻辑删除 1-删除 0-未删除不能为空")
    private Integer isDelete;

}
